If Not A_IsAdmin
{
    Run, *RunAs "%A_ScriptFullPath%"
    ExitApp
}

#SingleInstance
#Persistent
#InstallMouseHook
#InstallKeybdHook

$z:: ; z 热键.
    MouseGetPos, MouseX, MouseY
    PixelGetColor, color, %MouseX%, %MouseY%
    MsgBox The color at the current cursor position is %color% and position %MouseX% %MouseY%.
return